<!-- Init JavaScript -->
<script src="__PUBLIC__/admin/dist/js/init.js"></script>

<div id="changePass" class="modal fade in" tabindex="-1" role="dialog" aria-labelledby="changePassLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h5 class="modal-title" id="changePassLabel">修改密码</h5>
            </div>
            <div class="modal-body">
                <!-- Row -->
                <div class="row">
                    <div class="col-lg-12">
                        <div class="">
                            <div class="panel-wrapper collapse in">
                                <div class="panel-body pa-0">
                                    <div class="col-sm-12 col-xs-12">
                                        <div class="form-wrap">
                                            <form action="{:url('admin/login/changePass')}" method="post" id="change_pass_form">
                                                <div class="form-body overflow-hide">
                                                    <div class="form-group">
                                                        <label class="control-label mb-10" for="old_pass">原密码</label>
                                                        <div class="input-group col-sm-12">
                                                            <input type="password" class="form-control" name="old_pass" id="old_pass" placeholder="请输入 原密码" required>
                                                        </div>
                                                    </div>
                                                    <div class="form-group">
                                                        <label class="control-label mb-10" for="new_pass">新密码</label>
                                                        <div class="input-group col-sm-12">
                                                            <input type="password" class="form-control" id="new_pass" name="new_pass" placeholder="请输入 新密码" required>
                                                        </div>
                                                    </div>
                                                    <div class="form-group">
                                                        <label class="control-label mb-10" for="confirm_pass">确认密码</label>
                                                        <div class="input-group col-sm-12">
                                                            <input type="password" class="form-control" id="confirm_pass" name="confirm_pass" placeholder="请输入 确认密码" required>
                                                        </div>
                                                    </div>
                                                </div>
                                            </form>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="submit" form="change_pass_form" class="btn btn-success waves-effect">保存</button>
                <button type="button" class="btn btn-default waves-effect" data-dismiss="modal">取消</button>
            </div>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>